var express = require('express');
var router = express.Router();
var {} = require("../model/bai")
/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

router.get('/getlist', async(req, res)=> {
  res.send({
    data:[1,2,3]
  })
});


module.exports = router;
